CommonEvent 140
Name = "Medal King: Small Medals"

  999([140])
  ControlVariables([10, 10, 0, 3, 0, 32, 0])
  ConditionalBranch([1, 10, 0, 0, 0])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<Medal King>You currently have... no medals at all, it seems.\nBut while you're here, have a look at the rewards."])
    ShowText([""])
    ShowText([""])
    Empty([])

  Else([])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<Medal King>You currently have \\V[10] medals.\nNow, what will you trade them for?"])
    ShowText([""])
    ShowText([""])
    Empty([])

  BranchEnd([])
  Label(["リスト"])
  ControlVariables([10, 10, 0, 3, 0, 32, 0])
  Script(["unlimited_choices(11,[\"Life Nut(2)\","])
  ScriptMore(["\"Mystery Nut(2)\",\"Seed of Power(2)\","])
  ScriptMore(["\"Seed of Defense(2)\",\"Seed of Magic(2)\","])
  ScriptMore(["\"Seed of Spirit(2)\",\"Seed of Agility(2)\","])
  ScriptMore(["\"Seed of Skill(2)\","])
  ScriptMore(["\"Noble Orb(30-Only one)\","])
  ScriptMore(["\"Heinrich's Helm(30-Only one)\","])
  ScriptMore(["\"Heinrich's Shield(30-Only one)\","])
  ScriptMore(["\"Heinrich's Sword(40-Only one)\","])
  ScriptMore(["\"Heinrich's Armor(40-Only one)\","])
  ScriptMore(["\"Etemenanki(50)\","])
  ScriptMore(["\"Never mind\"])"])
  ConditionalBranch([1, 11, 0, 0, 0])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<Medal King>How many?"])
    ShowText(["(Small Medals:\\V[10])"])
    ShowText([""])
    ShowChoices([["Just one", "Multiple"], 5])
    When([0, "1つ"])
      ConditionalBranch([1, 10, 0, 2, 1])
        ChangeItems([32, 1, 0, 2])
        ControlVariables([55, 55, 1, 0, 2])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([24, 0, 0, 1])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    When([1, "複数"])
      InputNumber([14, 2])
      ControlVariables([15, 15, 0, 1, 14])
      ControlVariables([15, 15, 3, 0, 2])
      ConditionalBranch([1, 10, 1, 15, 1])
        ChangeItems([32, 1, 1, 15])
        ControlVariables([55, 55, 1, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([24, 0, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    WhenCancel([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 1, 0])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<Medal King>How many?"])
    ShowText(["(Small Medals:\\V[10])"])
    ShowText([""])
    ShowChoices([["Just one", "Multiple"], 5])
    When([0, "1つ"])
      ConditionalBranch([1, 10, 0, 2, 1])
        ChangeItems([32, 1, 0, 2])
        ControlVariables([55, 55, 1, 0, 2])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([25, 0, 0, 1])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    When([1, "複数"])
      InputNumber([14, 2])
      ControlVariables([15, 15, 0, 1, 14])
      ControlVariables([15, 15, 3, 0, 2])
      ConditionalBranch([1, 10, 1, 15, 1])
        ChangeItems([32, 1, 1, 15])
        ControlVariables([55, 55, 1, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([25, 0, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    WhenCancel([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 2, 0])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<Medal King>How many?"])
    ShowText(["(Small Medals:\\V[10])"])
    ShowText([""])
    ShowChoices([["Just one", "Multiple"], 5])
    When([0, "1つ"])
      ConditionalBranch([1, 10, 0, 2, 1])
        ChangeItems([32, 1, 0, 2])
        ControlVariables([55, 55, 1, 0, 2])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([26, 0, 0, 1])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    When([1, "複数"])
      InputNumber([14, 2])
      ControlVariables([15, 15, 0, 1, 14])
      ControlVariables([15, 15, 3, 0, 2])
      ConditionalBranch([1, 10, 1, 15, 1])
        ChangeItems([32, 1, 1, 15])
        ControlVariables([55, 55, 1, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([26, 0, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    WhenCancel([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 3, 0])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<Medal King>How many?"])
    ShowText(["(Small Medals:\\V[10])"])
    ShowText([""])
    ShowChoices([["Just one", "Multiple"], 5])
    When([0, "1つ"])
      ConditionalBranch([1, 10, 0, 2, 1])
        ChangeItems([32, 1, 0, 2])
        ControlVariables([55, 55, 1, 0, 2])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([27, 0, 0, 1])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    When([1, "複数"])
      InputNumber([14, 2])
      ControlVariables([15, 15, 0, 1, 14])
      ControlVariables([15, 15, 3, 0, 2])
      ConditionalBranch([1, 10, 1, 15, 1])
        ChangeItems([32, 1, 1, 15])
        ControlVariables([55, 55, 1, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([27, 0, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    WhenCancel([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 4, 0])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<Medal King>How many?"])
    ShowText(["(Small Medals:\\V[10])"])
    ShowText([""])
    ShowChoices([["Just one", "Multiple"], 5])
    When([0, "1つ"])
      ConditionalBranch([1, 10, 0, 2, 1])
        ChangeItems([32, 1, 0, 2])
        ControlVariables([55, 55, 1, 0, 2])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([28, 0, 0, 1])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    When([1, "複数"])
      InputNumber([14, 2])
      ControlVariables([15, 15, 0, 1, 14])
      ControlVariables([15, 15, 3, 0, 2])
      ConditionalBranch([1, 10, 1, 15, 1])
        ChangeItems([32, 1, 1, 15])
        ControlVariables([55, 55, 1, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([28, 0, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    WhenCancel([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 5, 0])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<Medal King>How many?"])
    ShowText(["(Small Medals:\\V[10])"])
    ShowText([""])
    ShowChoices([["Just one", "Multiple"], 5])
    When([0, "1つ"])
      ConditionalBranch([1, 10, 0, 2, 1])
        ChangeItems([32, 1, 0, 2])
        ControlVariables([55, 55, 1, 0, 2])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([29, 0, 0, 1])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    When([1, "複数"])
      InputNumber([14, 2])
      ControlVariables([15, 15, 0, 1, 14])
      ControlVariables([15, 15, 3, 0, 2])
      ConditionalBranch([1, 10, 1, 15, 1])
        ChangeItems([32, 1, 1, 15])
        ControlVariables([55, 55, 1, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([29, 0, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    WhenCancel([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 6, 0])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<Medal King>How many?"])
    ShowText(["(Small Medals:\\V[10])"])
    ShowText([""])
    ShowChoices([["Just one", "Multiple"], 5])
    When([0, "1つ"])
      ConditionalBranch([1, 10, 0, 2, 1])
        ChangeItems([32, 1, 0, 2])
        ControlVariables([55, 55, 1, 0, 2])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([30, 0, 0, 1])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    When([1, "複数"])
      InputNumber([14, 2])
      ControlVariables([15, 15, 0, 1, 14])
      ControlVariables([15, 15, 3, 0, 2])
      ConditionalBranch([1, 10, 1, 15, 1])
        ChangeItems([32, 1, 1, 15])
        ControlVariables([55, 55, 1, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([30, 0, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    WhenCancel([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 7, 0])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<Medal King>How many?"])
    ShowText(["(Small Medals:\\V[10])"])
    ShowText([""])
    ShowChoices([["Just one", "Multiple"], 5])
    When([0, "1つ"])
      ConditionalBranch([1, 10, 0, 2, 1])
        ChangeItems([32, 1, 0, 2])
        ControlVariables([55, 55, 1, 0, 2])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([31, 0, 0, 1])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    When([1, "複数"])
      InputNumber([14, 2])
      ControlVariables([15, 15, 0, 1, 14])
      ControlVariables([15, 15, 3, 0, 2])
      ConditionalBranch([1, 10, 1, 15, 1])
        ChangeItems([32, 1, 1, 15])
        ControlVariables([55, 55, 1, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Very well. Here you go."])
        ShowText([""])
        PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
        ChangeItems([31, 0, 1, 14])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      Else([])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
        ShowText([""])
        JumpToLabel(["リスト"])
        Empty([])

      BranchEnd([])
      Empty([])

    WhenCancel([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 8, 0])
    ConditionalBranch([0, 2336, 0])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>There exists only one of this item, and I believe I've already handed it over to you. Is there anything else you'd like to trade for?"])
      ShowText([""])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 10, 0, 30, 1])
      ChangeItems([32, 1, 0, 30])
      ControlVariables([55, 55, 1, 0, 30])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Very well. Here you go."])
      ShowText([""])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeItems([662, 0, 0, 1])
      ControlSwitches([2336, 2336, 0])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 9, 0])
    ConditionalBranch([0, 2326, 0])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>There exists only one of this item, and I believe I've already handed it over to you. Is there anything else you'd like to trade for?"])
      ShowText([""])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 10, 0, 30, 1])
      ChangeItems([32, 1, 0, 30])
      ControlVariables([55, 55, 1, 0, 30])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Very well. Here you go."])
      ShowText([""])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([226, 0, 0, 1, false])
      ControlSwitches([2326, 2326, 0])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 10, 0])
    ConditionalBranch([0, 2327, 0])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>There exists only one of this item, and I believe I've already handed it over to you. Is there anything else you'd like to trade for?"])
      ShowText([""])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 10, 0, 30, 1])
      ChangeItems([32, 1, 0, 30])
      ControlVariables([55, 55, 1, 0, 30])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Very well. Here you go."])
      ShowText([""])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([321, 0, 0, 1, false])
      ControlSwitches([2327, 2327, 0])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 11, 0])
    ConditionalBranch([0, 2324, 0])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>There exists only one of this item, and I believe I've already handed it over to you. Is there anything else you'd like to trade for?"])
      ShowText([""])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 10, 0, 40, 1])
      ChangeItems([32, 1, 0, 40])
      ControlVariables([55, 55, 1, 0, 40])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Very well. Here you go."])
      ShowText([""])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeWeapons([112, 0, 0, 1, false])
      ControlSwitches([2324, 2324, 0])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 12, 0])
    ConditionalBranch([0, 2325, 0])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>There exists only one of this item, and I believe I've already handed it over to you. Is there anything else you'd like to trade for?"])
      ShowText([""])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 10, 0, 40, 1])
      ChangeItems([32, 1, 0, 40])
      ControlVariables([55, 55, 1, 0, 40])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Very well. Here you go."])
      ShowText([""])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeArmor([97, 0, 0, 1, false])
      ControlSwitches([2325, 2325, 0])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 11, 0, 13, 0])
    ConditionalBranch([1, 10, 0, 50, 1])
      ChangeItems([32, 1, 0, 50])
      ControlVariables([55, 55, 1, 0, 50])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Very well. Here you go."])
      ShowText([""])
      PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
      ChangeWeapons([185, 0, 0, 1, false])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>Is there anything else you'd like to trade for?"])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    Else([])
      ShowTextAttributes(["People4", 0, 0, 2])
      ShowText(["\\n<Medal King>My apologies, but it seems you're lacking in medals..."])
      ShowText([""])
      JumpToLabel(["リスト"])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  ShowTextAttributes(["People4", 0, 0, 2])
  ShowText(["\\n<Medal King>Gather more medals and come again...\nI'll just be taking it easy over here..."])
  ShowText([""])
  ShowText([""])
  ConditionalBranch([1, 55, 0, 3, 1])
    Script(["gain_medal(1401)"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 55, 0, 15, 1])
    Script(["gain_medal(1402)"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 55, 0, 50, 1])
    Script(["gain_medal(1403)"])
    Empty([])

  BranchEnd([])
  ConditionalBranch([1, 55, 0, 250, 1])
    Script(["gain_medal(1404)"])
    Empty([])

  BranchEnd([])
  ErasePicture([5])
  ExitEventProcessing([])
  Empty([])
